This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



Oct 31, 2011, 3:28 PM
10 Posts

Check Box not displaying properly on XPage ViewColumn

  • Category: Styles and Themes
  • Platform: Windows
  • Release: 8.5.3
  • Role: Developer
  • Tags: checkbox,viewcolumn,alignment
  • Replies: 2

I have created a simple view as a custom control. Below is the xml for the first viewcolumn. Notice that the showCheckbox is true.

<xp:viewColumn columnName="AppName" id="viewColumn1"

displayAs="link" showCheckbox="true" openDocAsReadonly="true">

<xp:viewColumnHeader value="App name" xp:key="header"

id="viewColumnHeader1">

</xp:viewColumnHeader>

</xp:viewColumn>

When the first column displays the checkbox is centered and on top of the column value.  I've tried putting in a value for the width of the column thinking that it was too narrow and wrapping, but this is not the case.  The theme I am using is extending the oneui.  I'm a client programmer and this is my first stab at doing xpages.  Any help would be appreciated.

MJ 
Oct 31, 2011, 9:13 PM
261 Posts
Re: Check Box not displaying properly on XPage ViewColumn
Hi Michael,
 
Looks like a CSS issue. I've been using oneui on a few projects, but haven't seen that behaviour myself. 
 
Did you check (using Firebug for instance) what CSS rule is causing the checkbox to be centered and aligned on top of the column contents?
 
Mark
Nov 2, 2011, 10:27 AM
43 Posts
Re: Check Box not displaying properly on XPage ViewColumn
 I agree with Mark.
Because even I am using it and ya for your reference you can check my code.. 
I have purposely added on width to show you that it doesnt make any difference even if you make it 5 px. 
 
<xp:viewColumn columnName="Person" id="viewColumn1" showCheckbox="true">
<xp:viewColumnHeader value="Name" id="viewColumnHeader1"
style="width:20.0px">
</xp:viewColumnHeader>
</xp:viewColumn>
 
Hope it helps. 
 
-CHINTAN 

This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal